<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>操作成功</title>
</head>
<body>
	<div id="message">
		<?php echo $msg; ?>
		<span>3秒后跳转到首页</span>
		<script type="text/javascript">
			setTimeout(function(){
				location.href='index.php';
			},3000);
		</script>
	</div>
	<style type="text/css">
		div#message{
			border: solid 2px purple;padding: 10px;
		}
		#message span{
			display: block;
			font-size: 16px;
			color: #333;
			margin-top:10px; 
		}
	</style>
</body>
</html>